MyFetchCompleted
Executes after an attempt to retrieve HTML data using theJMNewAppletLocator
function. When callingJMNewAppletLocator
, you must designate this function in the applet locator callbacks structure. This is how you would define your output function if you were to name it MyFetchCompleted:
void MyFetchCompleted ( JMAppletLocatorRef ref, JMLocatorErrors status);
ref
- The newly created applet locator.
status
- The status of the HTML data retrieval. See "Applet Locator Status Values" (page 9) for a listing of values that
JMNewAppletLocator
may pass in this parameter.DISCUSSION
The actions taken by the completion function depend on the status value it receives fromJMNewAppletLocator
. For example, if the HTML text is retrieved successfully, the function can then proceed to instantiate an applet associated with the HTML page.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help